package com.quanyan.vote.service;

import com.quanyan.api.APIResponse;
import com.quanyan.vote.entity.vo.req.ReqVoteDetail;
import com.quanyan.vote.entity.vo.req.ReqVoteFirstPage;
import com.quanyan.vote.entity.vo.req.ReqVoteToExpert;
import com.quanyan.vote.entity.vo.resp.RespExactlyExpertDetail;
import java.util.Map;

/**
 * Created by Administrator on 2016/6/13.
 */
public interface TbVoteExpertService {

    /**
     * 投票首页
     * @return
     */
    APIResponse<Map<String,Object>> voteFirstPage(ReqVoteFirstPage reqVoteFirstPage);

    /**
     * 查看达人投票详情
      * @param reqVoteDetail
     * @return
     */
    APIResponse<RespExactlyExpertDetail> expertDetail(ReqVoteDetail reqVoteDetail);

    /**
     * 投票给达人
     * @param reqVoteToExpert
     * @return
     */
    APIResponse voteToExpert(ReqVoteToExpert reqVoteToExpert);

}
